package com.example.lib3;

public class RubberDuck extends Duck{
    @Override
    public void display(){
        System.out.println("I'm is Rubber Duck");
    }
    RubberDuck(){
        flyBehavior=new FlyNoWay();
        quackBehavior=new Quack();
    }
}
